package com.demo;

import com.jfinal.core.ActionKey;
import com.jfinal.core.Controller;

public class HelloController extends Controller {
	public void index() {
		System.out.println("HelloController");
		renderText("hello jf");
		String s = getPara("id");
		System.out.println(s);
	}

	public void index2() {
		System.out.println("HelloController");
		renderText("index22 jf");
	}

	@ActionKey("/login")
	public void login() {
		System.out.println("login");
		render("login.jsp");

	}
}
